﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddorEditProductClassList.aspx.cs"
    Inherits="kim.AddorEditProductClassList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>发布资讯</title>
    <link rel="stylesheet" type="text/css" href="../img/style.css" />
    <link href="/kim/style/css.css" rel="stylesheet" type="text/css" />
    <script src="/kim/scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../Js/Validform_v5.3_min.js" type="text/javascript"></script>
    <script src="../../kim/scripts/jquery.form.js" type="text/javascript"></script>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <b>您当前的位置：首页 &gt;
            <asp:Label ID="labtitle" runat="server" Text=""></asp:Label>
            &gt; 信息修改</b>
    </div>
    <div style="padding-bottom: 10px;">
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr style="height: 30px;">
            <th colspan="2" align="left">
                <asp:Label ID="labtitle2" runat="server"></asp:Label>
            </th>
        </tr>
        <%if (this.type != "Edit" && this.type!="Add")
          {%>
        <tr style="height: 30px;">
            <td width="15%" align="right">
                产品分类：
            </td>
            <td width="85%">
                <asp:DropDownList ID="ddlParentId" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <%} %>
        <tr style="height: 30px;">
            <td width="15%" align="right">
                分类名称：
            </td>
            <td width="85%">
                <asp:TextBox ID="txtTitle" runat="server" CssClass="input w380 required" datatype="*2-200"
                    nullmsg="请输入产品分类名称！" errormsg="输入产品分类名称在2-200个之内！" Width="284px"></asp:TextBox>
            </td>
        </tr>
        <div id="img" runat="server" visible="false">
          <tr style="height: 30px;"  >
            <td align="right" valign="top">
                灰&nbsp;&nbsp;&nbsp;面：
            </td>
            <td>
                <img id="Headpic" runat="server" src="" width="100" __designer:mapid="4f6" />
                &nbsp;&nbsp;&nbsp;
                <asp:FileUpload ID="FileUpload1" runat="server" />
                &nbsp;<asp:Button ID="btn_sc" runat="server" Text="上传" OnClick="htn_upload_Click" />
            </td>
        </tr>
        <tr style="height: 30px;"  >
            <td align="right" valign="top">
                正&nbsp;&nbsp;&nbsp;面：
            </td>
            <td>
                <img id="Headpic2" runat="server" src="" width="100" __designer:mapid="4f6" />
                &nbsp;&nbsp;&nbsp;
                <asp:FileUpload ID="FileUpload2" runat="server" />
                &nbsp;<asp:Button ID="btn_sc2" runat="server" Text="上传" 
                    onclick="btn_sc2_Click"  />
            </td>
        </tr>
        </div>
        <tr style="height: 30px;">
            <td align="right">
                序列值：
            </td>
            <td>
                <asp:TextBox ID="txt_postion" Visible="true" runat="server" CssClass="input required number"
                    datatype="n" nullmsg="请输入序列值！" errormsg="请输入阿拉伯数字！" runat="server" ignore="ignore">0</asp:TextBox>目前最大序列值为:
                <asp:Label ID="lb_po" runat="server" Text=""></asp:Label>,您只要比最大序列值大1就可以排到第一位。
            </td>
        </tr>
    </table>
    <div style="margin-top: 10px; text-align: center;">
        <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
        &nbsp;
        <input name="重置" type="reset" class="submit" value="重置" />
        &nbsp;&nbsp;<asp:Label ID="lbmsg" runat="server" Text="" ForeColor="Red"></asp:Label>
    </div>
    </form>
    <script src="../../kim/scripts/function.js" type="text/javascript"></script>
</body>
</html>
